Solving Linear Equations by Modeling